package com.ehome.poct.core.dao.mapping;

import com.ehome.poct.core.api.dto.order.PromotionBundlePriceProfitConfDTO;
import com.ehome.poct.core.dao.entity.order.PromotionBundlePriceProfitConfDO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface PromotionBundlePriceProfitConfMapping {

    List<PromotionBundlePriceProfitConfDTO> to(List<PromotionBundlePriceProfitConfDO> tdo);

    PromotionBundlePriceProfitConfDTO to(PromotionBundlePriceProfitConfDO tdo);

}
